package com.aaa.bbb.mymaintain.service;

import com.aaa.bbb.mymaintain.entity.Employee;
import com.aaa.bbb.mymaintain.entity.IssuesEmployee;
import com.aaa.bbb.mymaintain.form.IssueEmployeeAddForm;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.aaa.bbb.mymaintain.entity.IssuesEmployee;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author max
 * @since 2023-11-03
 */
public interface IssuesEmployeeSer extends IService<IssuesEmployee> {
    public PageInfo<Map<String, Object>> queryPagerByCond(String username,
                                                          int pageNum,
                                                          int pageSize);

    public Map<String, String> queryMessageById(String issue_id);


    public PageInfo<Map<String, Object>> queryPagerByCond1(String username,
                                                           String state,
                                                           int pageNum,
                                                           int pageSize);

    public boolean checkAndInsert(IssuesEmployee issuesEmployee, IssueEmployeeAddForm form);

    public void updateIssueEmployee(String issue_id, String state);

    public void maintainUnQualified1(String issue_id, String state, String reason);

}
